<?php

namespace plugin\admin\app\model;

class PluginThink extends BaseThink
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'wa_plugin';
    protected $validate=[
        'rule'=>[
            'name' => 'require',
            'is_system' => 'require'
        ],
        'msg'=>[
            'name.require'     => '名称不能为空',
            'is_system.require'     => '是否允许卸载不能为空',
        ]
    ];
    
}
